Robot obstacle detection system

ABSTRACT

A robot obstacle detection system including a robot housing which navigates with respect to a surface and a sensor subsystem having a defined relationship with respect to the housing and aimed at the surface for detecting the surface. The sensor subsystem includes an optical emitter which emits a directed beam having a defined field of emission and a photon detector having a defined field of view which intersects the field of emission of the emitter at a region. A circuit in communication with a detector redirects the robot when the surface does not occupy the region to avoid obstacles. A similar system is employed to detect walls.

PRIORITY CLAIM

[0001] This application is a continuation-in-part application of patent application Ser. No. 09/768,773 filed Jan. 24, 2001 which claims priority from Provisional Application Serial No. 60/177,703 filed Jan. 24, 2000. This application is also related to patent application Ser. No. 10/167,851 and International Publication No. WO 02/101477 A2 both incorporated herein by this reference.

FIELD OF THE INVENTION

[0002] This invention relates to an obstacle detection system for an autonomous robot, such as an autonomous cleaning robot.

BACKGROUND OF THE INVENTION

[0003] There is a long felt need for autonomous robotic cleaning devices for dusting, mopping, vacuuming, and sweeping operations. Although technology exists for complex robots which can, to some extent, “see” and “feel” their surroundings, the complexity, expense and power requirements associated with these types of robotic subsystems render them unsuitable for the consumer marketplace.

[0004] The assignee of the subject application has devised a less expensive, battery operated, autonomous cleaning robot which operates in two modes: random and wall following. In the random bounce mode, the processing circuitry of the robot causes it to move in a straight line until the robot comes into contact with an obstacle; the robot then turns away from the obstacle and heads in a random direction. In the wall following mode, the robot encounters a wall, follows it for a time, and then returns to the random mode. By using this combination of modes, robotic theory has proven that the floor including the edges thereof is adequately covered in an optimal time resulting in a power savings.

[0005] Unfortunately, however, presently available sensor subsystems such as sonar sensors for detecting obstacles on or in the floor or for detecting the wall in order to enter the wall following mode (or to avoid bumping into the wall) are either too complex or too expensive of both. Tactile sensors are inefficient.

SUMMARY OF THE INVENTION

[0006] It is therefore an object of this invention to provide a robot obstacle detection system which is simple in design, low cost, accurate, easy to implement, and easy to calibrate.

[0007] It is a further object of this invention to provide such a robot detection system which prevents an autonomous cleaning robot from driving off a stair or obstacle which is too high.

[0008] It is a further object of this invention to provide a robotic wall detection system which is low cost, accurate, easy to implement and easy to calibrate.

[0009] It is a further object of this invention to provide such a robot wall detection system which effects smoother robot operation in the wall following mode.

[0010] It is a further object of this invention to provide a sensor subsystem for a robot which consumes a minimal amount of power.

[0011] It is a further object of this invention to provide a sensor subsystem which is unaffected by surfaces of different reflectivity.

[0012] The invention results from the realization that a low cost, accurate, and easy to implement system for either preventing an autonomous cleaning robot from driving off a stair or over an obstacle which is too high or too low and/or for more smoothly causing the robot to follow a wall for more thorough cleaning can be effected by intersecting the field of view of a detector with the field of emission of a directed beam at a predetermined region and then detecting whether the floor or wall occupies that region. If the floor does not occupy the predefined region, a stair or some other obstacle is present and the robot is directed away accordingly. If a wall occupies the region, the robot is first turned away from the wall and then turned back towards the wall at decreasing radiuses of curvature until the wall once again occupies the region of intersection to effect smoother robot operation in the wall following mode.

[0013] This invention features an autonomous robot comprising a housing that navigates in at least one direction on a surface. A first sensor subsystem is aimed at the surface for detecting obstacles on the surface. A second sensor subsystem is aimed at least proximate the direction of navigation for detecting walls. Each subsystem includes an optical emitter which emits a directed beam having a defined field of emission and a photon detector having a defined field of view which intersects the field of emission of the emitter at a finite, predetermined region.

[0014] The robot obstacle detection system of this invention features a robot housing which navigates with respect to a surface and a sensor subsystem having a defined relationship with respect to the housing and aimed at the surface for detecting the surface. The sensor subsystem includes an optical emitter which emits a directed beam having a defined field of emission and a photon detector having a defined field of view which intersects the field of emission of the emitter at a region. A circuit in communication with the detector then redirects the robot when the surface does not occupy the region to avoid obstacles.

[0015] Typically, there are a plurality of sensor subsystems spaced from each other on the housing of the robot and the circuit includes logic for detecting whether any detector has failed to detect a beam from an emitter.

[0016] In one embodiment, the robot includes a surface cleaning brush. Other embodiments would attach to the robot a buffing brush for floor polishing, a wire brush for stripping paint from a floor, and a sandpaper drum for sanding a surface. The emitter typically includes an infrared light source and the detector then includes an infrared photon detector. A modulator connected to the infrared light source modulates the directed infrared light source beam at a predetermined frequency and photon detector is tuned to that frequency. The emitter usually includes an emitter collimator about the infrared light source for directing the beam and the detector then further includes a detector collimator about the infrared photon detector. The emitter collimator and the detector collimator are preferably angled with respect to the surface to define a finite region of intersection.

[0017] The robot wall detection system of this invention includes a robot housing which navigates with respect to a wall and a sensor subsystem having a defined relationship with respect to the housing and aimed at the wall for detecting the presence of the wall. The sensor subsystem includes an emitter which emits a directed beam having a defined field of emission and a detector having a defined field of view which intersects the field of emission of the emitter at a region. A circuit in communication with the detector redirects the robot when the wall occupies the region.

[0018] In the preferred embodiment, there are a plurality of sensor subsystems spaced from each other on the housing of the robot and the circuit includes logic for detecting whether any detector has detected a beam from an emitter.

[0019] The circuit includes logic which redirects the robot away from the wall when the wall occupies the region and back towards the wall when the wall no longer occupies the region of intersection preferably at decreasing radiuses of curvature until the wall once again occupies the region of intersection to effect smooth operation of the robot in the wall following mode.

[0020] The sensor subsystem for an autonomous robot which rides on a surface in accordance with this invention includes an optical emitter which emits a directed optical beam having a defined field of emission, a photon detector having a defined field of view which intersects the field of emission of the emitter at a region and a circuit in communication with a detector for providing an output when an object is not present in the region.

[0021] If the object is the surface, the output from the circuit causes the robot to be directed to avoid an obstacle. If, on the other hand, the object is a wall, the output from the circuit causes the robot to be directed back towards the wall.

[0022] If the object is diffuse, at least one of the detector and the emitter may be oriented normal to the object. Also, an optional lens for the emitter and a lens for the detector control the size and/or shape of the region. A control system may be included and configured to operate the robot in a plurality of modes including an obstacle following mode whereby said robot travels adjacent to an obstacle. Typically, the obstacle following mode comprises alternating between decreasing the turning radius of the robot as a function of distance traveled such that the robot turns toward said obstacle until the obstacle is detected and decreasing the turning radius of the robot as a function of distance traveled such that the robot turns away from said obstacle until the obstacle is no longer detected. In one embodiment, the robot operates in obstacle following mode for a distance greater than twice the work width of the robot and less than approximately ten times the work width of the robot. In one example, the robot operates in obstacle following mode for a distance greater than twice the work width of the robot and less than five times the work width of the robot.

BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Other objects, features and advantages will occur to those skilled in the art from the following description of a preferred embodiment and the accompanying drawings, in which:

[0024]FIG. 1 is schematic view of a robot in accordance with the subject invention approaching a downward stair;

[0025]FIG. 2 is a schematic view of the same robot approaching an upward stair;

[0026]FIG. 3 is a schematic view of the same robot approaching an obstacle on a floor;

[0027]FIG. 4 is a schematic view showing the difference between the wall following and random modes of travel of a robot in accordance with the subject invention;

[0028]FIG. 5 is a schematic view of a sensor subsystem in accordance with one embodiment of the subject invention;

[0029]FIG. 6 is a schematic view of a sensor subsystem in accordance with another, preferred embodiment of the subject invention;

[0030]FIG. 7 is a schematic view showing the field of emission of the emitter and the field of view of the detector of the sensor subsystem shown in FIG. 6;

[0031]FIG. 8 is a three dimensional schematic view showing a full overlap of the field of emission of the emitter and the field of view of the detector in accordance with the subject invention;

[0032]FIG. 9 is a three dimensional schematic view showing the situation which occurs when there is a minimal overlap between the field of emission and the field of view of the sensor subsystem of the subject invention;

[0033]FIG. 10 is a series of views showing, from top to bottom, no overlap between the field of emission and the field of view and then a full overlap of the field of view over the field of emission;

[0034]FIG. 11 is a set of figures corresponding to FIG. 10 depicting the area of overlap for each of these situations shown in FIG. 10;

[0035]FIG. 12 is a more detailed schematic view of the sensor subsystem according to the preferred embodiment of the subject invention;

[0036]FIG. 13 is a schematic view of the sensor subsystem of FIG. 12 in place on the shell or housing of a robot in accordance with the subject invention;

[0037]FIG. 14 is a schematic view of the wall detection system in accordance with the subject invention in place on the shell or housing of a robot;

[0038]FIG. 15 is a schematic three dimensional view of another embodiment of the sensor system in accordance with the subject invention;

[0039]FIG. 16 is a flow chart depicting the primary steps associated with a logic which detects whether a cliff is present in front of the robot in accordance with the subject invention;

[0040]FIG. 17 is a flow chart depicting the primary steps associated with the logic of the wall detection mode of operation of the robot in accordance with the subject invention;

[0041]FIG. 18 is a bottom view of a cleaning robot in accordance with the subject invention configured to turn about curvatures of decreasing radiuses;

[0042]FIG. 19 is a schematic top view showing the abrupt turns made by a robot in the wall following mode when the wall following algorithm of the subject invention is not employed;

[0043]FIG. 20 is a view similar to FIG. 19 except that now the wall following algorithm of the subject invention is employed to smooth out the path of the robotic cleaning device in the wall following mode;

[0044]FIG. 21 is a flow-chart illustration of the obstacle following algorithm of a preferred embodiment of the invention;

[0045]FIG. 22 is a flow-chart illustration of a preferred algorithm for determining when to exit the obstacle following mode;

[0046]FIG. 23 is a block diagram showing the primary components associated with a complete robotic cleaning device;

[0047]FIG. 24 is a schematic three dimensional view of a robotic cleaning device employing a number of cliff sensors and wall sensors in accordance with the subject invention;

[0048]FIG. 25 is a bottom view of one particular robotic cleaning device and the cliff sensors incorporated therewith in accordance to the subject invention;

[0049]FIG. 26 is a side view of the same robot further incorporating wall following sensors in accordance with the subject invention;

[0050]FIG. 27 is a circuit diagram for the detector circuit of the subject invention;

[0051]FIG. 28 is a circuit diagram for the oscillator circuit of the subject invention;

[0052]FIG. 29 is a circuit diagram for the power connection circuit of the subject invention;

[0053]FIG. 30 is the decoupling circuit of the subject invention;

[0054]FIG. 31 is a diagram of a connector used in the subject invention;

[0055]FIG. 32 is a diagram of another connector;

[0056]FIG. 33 is a diagram of still another connector;

[0057]FIG. 34 is a circuit diagram of a jumper used in the subject invention; and

[0058]FIG. 35 is a circuit diagram for constant current source used in the subject invention.

DISCLOSURE OF THE PREFERRED EMBODIMENT

[0059] Robotic cleaning device 10, FIG. 1 can be configured to dust, mop, vacuum, and/or sweep a surface such as a floor. Typically, robot 10 operates in two modes: random coverage and a wall following mode as discussed in the Background section above. In either mode, robot 10 may encounter downward stair 12 or another similar “cliff”, upward stair 14, FIG. 2 or another similar rise, and/or obstacle 16, FIG. 3. According to one specification, the robot must be capable of traversing obstacles less then ⅝” above or below floor level. Therefore, robot 10 must avoid stairs 12 and 14 but traverse obstacle 16 which may be an extension cord, the interface between a rug and hard flooring, or a threshold between rooms.

[0060] As delineated in the background of the invention, presently available obstacle sensor subsystems useful in connection with robot 10 are either too complex or too expensive or both. Moreover, robot 10, FIG. 4 is designed to be inexpensive and to operate based on battery power to thus thoroughly clean room 20 in two modes: a wall following mode as shown at 22 and 24 and a random bounce mode as shown at 26. In the wall following mode, the robot follows the wall for a time. In the random bounce mode, the robot travels in a straight line until it bumps into an object. It then turns away from the obstacle by a random turn and then continues along in a straight line until the next object is encountered.

[0061] Accordingly, any obstacle sensor subsystem must be inexpensive, simple in design, reliable, must not consume too much power, and must avoid certain obstacles but properly recognize and traverse obstacles which do not pose a threat to the operation of the robot.

[0062] Although the following disclosure relates to cleaning robots, the invention hereof is not limited to such devices and may be useful in other devices or systems wherein one or more of the design criteria listed above are important.

[0063] In the simplest embodiment, sensor subsystem 50, FIG. 5 according to this invention includes optical emitter 52 which emits a directed beam 54 having a defined field of emission explained supra. Sensor subsystem 50 also includes photon detector 56 having a defined field of view which intersects the field of emission of emitter 52 at or for a given region. Surface 58 may be a floor or a wall depending on the arrangement of sensor subsystem 50 with respect to the housing of the robot.

[0064] In general, for obstacle avoidance, circuitry is added to the robot and connected to detector 56 to redirect the robot when surface 58 does not occupy the region defining the intersection of the field of emission of emitter 52 and the field of view of detector 56. For wall following, the circuitry redirects the robot when the wall occupies the region defined by the intersection of the field of emission of emitter 52 and the field of view of detector 56. Emitter collimator tube 60 forms directed beam 54 with a predefined field of emission and detector collimator tube 62 defines the field of view of the detector 56.

[0065] One potential problem with the configuration shown in FIG. 5 is that the difference between a white or highly reflective surface a long distance away from subsystem 50 and a black or non-reflective surface closer to subsystem 50 cannot be easily detected by the control circuitry. Moreover, the effects of specular scattering are not always easily compensated for adequately when the beam from emitter 52 is directed normal to the plane of surface 58.

[0066] Accordingly, in the preferred embodiment, emitter collimator 60′, FIG. 6 and detector collimator 62′ are both angled with respect to surface 58 and with respect to each other as shown. In this way, the region 70, FIG. 7 in which the field of emission of emitter 52′ as shown at 72 and the field of view of detector of 56′ as shown at 74 intersect is finite to more adequately address specular scattering and surfaces of different reflectivity. In this design, the emitter is typically an infrared emitter and the detector is typically an infrared radiation detector. The infrared energy directed at the floor decreases rapidly as the sensor-to-floor distance increases while the infrared energy received by the detector changes linearly with surface reflectivity. Note, however, that an angled relationship between the emitter and detector is not required for diffuse surfaces. Optional lenses 61 and 63 may also be employed to better control the size and/or shape of region 70.

[0067] The sensor subsystem is calibrated such that when floor or surface 58′, FIG. 8 is the “normal” or expected distance with respect to the robot, there is a full or a nearly full overlap between the field of emission of the emitter and the field of view of the detector as shown. When the floor or surface is too far away such that the robot can not successfully traverse an obstacle, there is no or only a minimal overlap between the field of emission of the emitter and the field of view of the detector as shown in FIG. 9. The emitter beam and the detector field of view are collimated such that they fully overlap only in a small region near the expected position of the floor. The detector threshold is then set so that the darkest available floor material is detected when the beam and the field of view fully overlap. As the robot approaches a cliff, the overlap decreases until the reflected intensity is below the preset threshold. This triggers cliff avoidance behavior. Highly reflective floor material delays the onset of cliff detection only slightly. By arranging the emitter and detector at 45° with respect to the floor, the region of overlap as a function of height is minimized. Equal incidence and reflection angles ensure that the cliff detector functions regardless of whether the floor material is specular or diffuse. The size of the overlap region can be selected by choosing the degree of collimation and the nominal distance to the floor. In this way, the logic interface between the sensor subsystem and the control circuitry of the robot is greatly simplified.

[0068] By tuning the system to simply redirect the robot when there is no detectable overlap, i.e., when the detector fails to emit a signal, the logic interface required between the sensor subsystem and the control electronics (e.g., a microprocessor) is simple to design and requires no or little signal conditioning. The emitted IR beam may be modulated and the return beam filtered with a matching filter in order to provide robust operation in the presence of spurious signals, such as sunlight, IR-based remote control units, fluorescent lights, and the like. Conversely, for the wall sensor embodiment, the system is tuned to redirect the robot when there is a detectable overlap.

[0069] FIGS. 10-11 provide in graphical form an example of the differences in the area of overlap depending on the height (d) of the sensor subsystem from a surface. The field of emission of the emitter and the field of view of the detector were set to be equal and non-overlapping at a distance (d) of 1.3 inches and each was an ellipse 0.940 inches along the major diameter and 0.650 inches along minor diameter. A full overlap occurred at d=0.85 inches where the resulting overlapping ellipses converge into a single ellipse 0.426 inches along the minor diameter and 0.600 inches along the major diameter. Those skilled in the art will understand how to adjust the field of emission and the field of view and the intersection region between the two to meet the specific design criteria of any robotic device in question. Thus, FIGS. 10 and 11 provide illustrative examples only.

[0070] In one embodiment, as shown in FIG. 12, housing 80 of the sensor subsystem was rectangular 22 mm by 53 mm 3 mm diameter plastic emitter collimator tube 82 and 3 mm diameter plastic detector collimator tube 84 were placed 13.772 mm from the bottom of housing 80 which was flush with the bottom of the shell of the robot. This configuration defined field of view and field of emission cones of 20° placed at a 60° angle from each other. The angle between the respective collimator tubes was 60° and they were spaced 31.24 mm apart.

[0071] This configuration defined a region of intersection between the field of emission and the field of view 29.00 mm long beginning at the bottom of the robot.

[0072] In the design shown in FIG. 13, the sensor subsystem is shown integrated with robot shell or housing 90 with a wheel (not shown) which supports the bottom 92 of shell 90 one half an inch above surface or floor 94. The region of overlap of the field of view and the field of emission was 0.688 inches, 0.393 inches above. Thus, if stair 96 has a drop greater than 0.393 inches, no signal will be output by the detector and the robot redirected accordingly. In the preferred embodiment, the emitter includes an infrared light source and the detector includes an infrared photon detector each disposed in round plastic angled collimators. The emitter, however, may also be a laser or any other source of light.

[0073] For wall detection, emitter 102 and detector 100 are arranged as shown in FIG. 14. The optical axes of the emitter and detector are parallel to the floor on which the robot travels. The field of emission of the emitter and the field of view of the detector are both 22 degree cones. A three millimeter diameter tube produces a cone of this specification when the active element is mounted 0.604 inches from the open end as shown. The optical axes of the emitter and detector intersect at an angle of 80 degrees. The volume of intersection 103 occurs at a point about 2.6 inches ahead of the point of tangency between the robot shell 106 and the wall 104 when the robot is travelling parallel to the wall. The line bisecting the intersection of the optical axes of the emitter and detector is perpendicular to the wall. This ensures that reflections from specular walls are directed from the emitter into the detector.

[0074] In another embodiment, detector 116, FIG. 15 is positioned above emitter 112 and lens 118 with two areas of different curvature 115 and 114 used to focus light from emitter 112 to the same spot as the field of view of detector 116 at only one height above surface 120 so that if the height changes, there is no or at least not a complete overlap between the field of view of detector 116 and emitter 112 as defined by curvature areas 115 and 114. In this situation, the rapid change of reflected intensity with height is provided by focusing two lenses on a single spot. When the floor is in the nominal position relative to the sensor subsystem, the emitter places all its energy on a small spot. The detector is focused on the same spot. As the floor falls away from the nominal position, light reflected into the detector (now doubly out of focus) decreases rapidly. By carefully selecting the lens-to-floor distance and the focal lengths of the two lenses, it is possible for the emitter and detector to be located at different points but have a common focus on the floor. Lens may also be used in connection with the embodiments of FIGS. 5-7 to better control the shape and/or size of the region of intersection.

[0075] The logic of the circuitry associated with the cliff sensor embodiment modulates the emitter at a frequency of several kilohertz and detects any signal from the detector, step 150, FIG. 16, which is tuned to that frequency. When a signal is not output by the detector, step 152, the expected surface is not present and no overlap is detected. In response, an avoidance algorithm is initiated, step 154 to cause the robot to avoid any interfering obstacle. When a reflected signal is detected, processing continues to step 150.

[0076] In the wall detection mode, the logic of the circuitry associated with the sensor subsystem modulates the emitter and detects signals from the detector as before, step 170, FIG. 17 until a reflection is detected, step 172. A wall is then next to the robot and the controlling circuitry causes the robot to turn away from the wall, step 174 and then turn back, step 176 until a reflection (the wall) is again detected, step 178. By continuously decreasing the radius of curvature of the robot, step 180, the path of the robot along the wall in the wall following mode is made smoother.

[0077] As shown in FIG. 18, robot housing 200 includes three wheels 202, 204, and 206 and is designed to only move forward in the direction shown by vector 208. When a wall is first detected (step 172, FIG. 17), the robot turns away from the wall in the direction of vector 210 and then turns back towards the wall rotating first about radius R₁ and then about radius R₂ and then about smoothly decreasing radius points (steps 178-180, FIG. 17) until the wall is again detected. This discussion assumes the detector is on the right of robot housing 200.

[0078] As shown in FIG. 19, if only one constant radius of curvature was chosen, the robot's travel path along the wall would be a series of abrupt motions. In contrast, by continuously reducing the radius of curvature as the robot moves forward back to the wall in accordance with the subject invention, the robot's travel path along the wall is smooth as shown in FIG. 20.

[0079] The method used in a preferred embodiment for following the wall is explained with reference to FIG. 21 and provides a smooth wall following operation even with a one-bit sensor. (Here the one-bit sensor detects only the presence of absence of the wall within a particular volume rather than the distance between wall and sensor.) Other methods of detecting a wall or object can be used such as bump sensing or sonar sensors.

[0080] Once the wall-following operational mode, or WALL FOLLOWING behavior of one preferred embodiment, is initiated (step 1301), the robot first sets its initial value for the steering at r₀. The WALL-FOLLOWING behavior then initiates the emit-detect routine in the wall-follower sensor (step 1310). The existence of a reflection for the IR transmitter portion of the sensor translates into the existence of an object within a predetermined distance from the sensor. The WALL-FOLLOWING behavior then determines whether there has been a transition from a reflection (object within range) to a non-reflection (object outside of range) (step 1320). If there has been a transition (in other words, the wall is now out of range), the value of r is set to its most negative value and the robot will veer slightly to the right (step 1325). The robot then begins the emit-detect sequence again (step 1310). If there has not been a transition from a reflection to a non-reflection, the wall-following behavior then determines whether there has been a transition from non-reflection to reflection (step 1330). If there has been such a transition, the value of r is set to its most positive value and the robot will veer slightly left (step 1335).

[0081] In the absence of either type of transition event, the wall-following behavior reduces the absolute value of r (step 1340) and begins the emit-detect sequence (step 1310) anew. By decreasing the absolute value of r, the robot 10 begins to turn more sharply in whatever direction it is currently heading. In a preferred embodiment, the rate of decreasing the absolute value of r is a constant rate dependant on the distance traveled.

[0082] The wall follower mode can be continued for a predetermined or random time, a predetermined or random distance or until some additional criteria are met (e.g. bump sensor is activated, etc.). In one embodiment, the robot continues to follow the wall indefinitely. In a preferred embodiment, minimum and maximum travel distances are determined, whereby the robot will remain in WALL-FOLLOWING behavior until the robot has either traveled the maximum distance or traveled at least the minimum distance and encountered an obstacle. This implementation of WALL-FOLLOWING behavior ensures the robot spends an appropriate amount of time in WALL-FOLLOWING behavior as compared to its other operational modes thereby decreasing systemic neglect and distributing coverage to all areas. By increasing wall following, the robot is able to move in more spaces, but the robot is less efficient at cleaning any one space. In addition, by tending to exit WALL-FOLLOWING behavior after obstacle detection, the robot increases its perceived effectiveness.

[0083]FIG. 22 is a flow-chart illustration showing this embodiment of determining when to exit WALL-FOLLOWING behavior. The robot first determines the minimum distance to follow the wall (d_(min)) and the maximum distance to follow the wall (d_(max)). While in wall (or obstacle) following mode, the control system tracks the distance the robot has traveled in that mode (d_(wf)). If d_(wf) is greater than d_(max) (step 1350), then the robot exits wall-following mode (step 1380). If, however, d_(wf) is less than d_(max) (step 1350) and d_(wf) is less than d_(max) (step 1360), the robot remains in wall-following mdoe (step 1385). If d_(wf) is greater than d_(min) (step 1360) and an obstacle is encountered (Step 1370), the robot exits wall-following mode (step 1380).

[0084] Theoretically, the optimal distance for the robot to travel in WALL-FOLLOWING behavior is a function of room size and configuration and robot size. In a preferred embodiment, the minimum and maximum distance to remain in WALL-FOLLOWING are set based upon the approximate room size, the robots width and a random component, where by the average minimum travel distance is 2 w/p, where w is the width of the work element of the robot and p is the probability that the robot will enter WALL-FOLLOWING behavior in a given interaction with an obstacle. By way of example, in one embodiment, w is approximately between 15 cm and 25 cm, and p is 0.095 (where the robot encounters 6 to 15 obstacles, or an average of 10.5 obstacles, before entering an obstacle following mode). The minimum distance is then set randomly as a distance between approximately 115 cm and 350 cm; the maximum distance is then set randomly as a distance between approximately 170 cm and 520 cm. In certain embodiments the ratio between the minimum distance to the maximum distance is 2:3. For the sake of perceived efficiency, the robot's initial operation in an obstacle following mode can be set to be longer than its later operations in obstacle following mode. In addition, users may place the robot along the longest wall when starting the robot, which improves actual as well as perceived coverage.

[0085] The distance that the robot travels in wall following mode can also be set by the robot depending on the number and frequency of objects encountered (as determined by other sensors), which is a measure of room “clutter”. If more objects are encountered, the robot would wall follow for a greater distance in order to get into all the areas of the floor. Conversely, if few obstacles are encountered, the robot would wall follow less in order to not over-cover the edges of the space in favor of passes through the center of the space. An initial wall-following distance can also be included to allow the robot to follow the wall a longer or shorter distance during its initial period where the WALL-FOLLOWING behavior has control.

[0086] In one embodiment, the robot may also leave wall-following mode if the robot turns more than, for example, 270 degrees and is unable to locate the wall (or object) or if the robot has turned a total of 360 degrees since entering the wall-following mode.

[0087] In certain embodiments, when the WALL-FOLLOWING behavior is active and there is a bump, the ALIGN behavior becomes active. The ALIGN behavior turns the robot counter-clockwise to align the robot with the wall. The robot always turns a minimum angle, the robot monitors its wall sensor and if it detects a wall and then the wall detection goes away, the root stops turning. This is because at the end of the wall follower range, the robot is well aligned to start WALL-FOLLOWING. If the robot has not seen its wall detector go on and then off by the time it reaches its maximum angle, it stops anyway. This prevents the robot from turning around in circles when the wall is out of range of its wall sensor. When the most recent bump is within the side 60 degrees of the bumper on the dominant side, the minimum angle is set to 14 degrees and the maximum angle is 19 degrees. Otherwise, if the bump is within 30 degrees of the front of the bumper on the dominant side or on the non-dominant side, the minimum angle is 20 degrees and the maximum angle is 44 degrees. When the ALIGN behavior has completed turning, it cedes control to the WALL-FOLLOWING behavior.

[0088] For reasons of cleaning thoroughness and navigation, the ability to follow walls is essential for cleaning robots. Dust and dirt tend to accumulate at room edges. The robot therefore follows walls that it encounters to insure that this special area is well cleaned. Also, the ability to follow walls enables a navigation strategy that promotes full coverage. Using this strategy, the robot can avoid becoming trapped in small areas. Such entrapments could otherwise cause the robot to neglect other, possibly larger, areas.

[0089] But, it is important that the detected distance of the robot from the wall does not vary according to the reflectivity of the wall. Proper cleaning would not occur if the robot positioned itself very close to a dark wall but several inches away from a light colored wall. By using the dual collimation system of the subject invention, the field of view of the infrared emitter and detector are restricted in such a way that there is a limited, selectable volume where the cones of visibility intersect. Geometrically, the sensor is arranged so that it can detect both diffuse and specular reflection. This arrangement allows the designer to select with precision the distance at which the robot follows the wall independent of the reflectivity of the wall.

[0090] A more complete robot system 300, FIG. 23 in accordance with this invention includes a circuit embodied in microprocessor 302 which controls drive motion subsystem 304 of robot 300 in both the random movement and wall following modes to drive and turn the robot accordingly. Sensor subsystem 308 represents the designs discussed above with respect to FIGS. 6-15. The detectors of each such subsystem provide an output signal to microprocessor 302 as discussed supra which is programmed according to the logic discussed with reference to FIGS. 16-17 to provide the appropriate signals to drive subsystem 304. Modulator circuitry 310 drives the emitters of the sensor subsystem 308 under the control of processor 302 as discussed above.

[0091] Typically, there are three or more cliff detector subsystems as shown in FIG. 24 at locations 316, 318, and 320 spaced about the forward bottom portion of the robot and aimed downward and only one or two or more wall detector subsystems at locations 322 and 324 spaced about the forward portion of the robot housing and aimed outwardly.

[0092] In one embodiment, 12 inch diameter three wheeled differentially steered robot 340, FIG. 25 is a sweeper type cleaning robot equipped with sweeping brush 342 and includes four cliff detector subsystems 342, 344, 346, and 348 and one wall detector subsystem 352, FIG. 26. The output of the detectors of each subsystem are typically connected together by “OR” circuitry logic so that when any one detector detects a signal it is communicated to the processor.

[0093]FIG. 27 shows one embodiment of a detector circuit. R1 (384), CR1 (382), R2 (388), R3 (390), C1 (392), and U1:D (394) form a voltage reference used to prevent saturation of intermediate gain stages. In this embodiment, R1 (384) and CR1 (382) create from the input voltage (386) approximately 5.1V that is divided by voltage divider R2 (388), R3 (390) to create a voltage of approximately 1.8V. This is buffered by U1:D (394) configured as a unity gain follower. C1 (392) is provided to reduce noise. The photo-transistor (not shown) used in this embodiment requires a biasing current, provided from the above described reference voltage through R7 (396). R10 (398), R13 (402), and U1:A (400) implement an amplifier with a gain of approximately −10. C4 (404) is provided for compensation and to reduce noise.

[0094] C2 (404) is used to block any DC component of the signal, while R8 (407), R12 (408), and U1:B (406) implement an amplifier with a gain of approximately −100. CR2 (410), R5 (414), and C3 (416) implement a peak detector/rectifier. R11 (412) provides a discharge path for C3 (416). The output of this peak detector is then compared to the above mentioned reference voltage by U1:C (420). R4 (422) provide hystersis. R9 (424) is a current limiting resistor used so that the output of U1:C (420) may be used to drive an indicator LED (not shown). Jumper JU1 (426) provides a convenient test point for debugging.

[0095] An oscillator circuit as shown in FIG. 28 is used to modulate the emitter IR LED at a frequency of several KHz. The exact frequency may be selected by adjusting R23 (468). Those skilled in the art will immediately deduce other ways of obtaining the same function. The simple filter/amplifier circuit of FIG. 27 is used to receive and amplify the output of a photo-transistor (not shown). A peak detector/integrator is used to convert the AC input to a threshold measurement. If sufficient energy in the selected bandwidth is received, the output signal is present at (428) is driven to a logical high state. Those skilled in the art will immediately recognize other ways of achieving the same ends. Components R14 (440), R17 (446), and U2:B (448) create a buffered bias voltage equal to approximately one-half of the input voltage (442). U2:A (456), R19 (460), R23 (468), and C5 (470) create a simple oscillator of a form commonly used. R18 (458), Q1 (462), and R21 (466) convert the voltage mode oscillations of the oscillator described to current-mode oscillations in order that the emitter LED (connected to 464) be relatively constant current regardless of power supply voltage (442). The actual current impressed through the circuit may be altered to meet the requirements of the chosen LED by varying the value of R21 (466).

[0096] In FIG. 29, a connector J1 (500) is used to connect the system to a means of supplying power (e.g., a battery). Fuse F1 (501) is included to limit excessive current flow in the event of a short circuit or other defect. Capacitors C6 (506) and C7 (510), FIG. 30 are provided for decoupling of other electronics (U1 and U2). Connector J2 (514), FIG. 31 provides a means of attachment for the IR LED transmitter (not shown). Connector J3 (520), FIG. 32 provides a means of attachment for the IR photo-transistor (not shown). Connector J4 (530), FIG. 33 provides a means of attachment for an indicator LED (to indicate the presence or absence of an obstacle, a means of attachment for a battery (not shown), and a means of attachment for a recharging power supply (not shown). Jumper JU2, FIG. 34, provides a convenient GROUND point for test equipment, etc. U3 (536) and R22 (538), FIG. 35 implements a constant-current source used in recharging an attached NiCad battery. U3 maintains a constant 5 volts between pins 3 and 2.5 volts divided by 22 Ohms (R22) creates a current of approximately 230 mA.

[0097] In other embodiments, a fiber optic source and detector may be used which operate similar to the sensor subsystems described above. The difference is that collimation is provided by the acceptance angle of two fiber optic cables. The fiber arrangement allows the emitter and detector to be located on a circuit board rather than mounted near the wheel of the robot. The cliff detector and wall detector can also be implemented using a laser as the source of the beam. The laser provides a very small spot size and may be useful in certain application where the overall expense is not a priority design consideration. Infrared systems are preferred when cost is a primary design constraint. Infrared sensors can be designed to work well with all floor types, they are inexpensive, and can be fitted into constrained spaces.

[0098] Although specific features of the invention are shown in some drawings and not in others, this is for convenience only as each feature may be combined with any or all of the other features in accordance with the invention. The words “including”, “comprising”, “having”, and “with” as used herein are to be interpreted broadly and comprehensively and are not limited to any physical interconnection. Moreover, any embodiments disclosed in the subject application are not to be taken as the only possible embodiments.

[0099] Other embodiments will occur to those skilled in the art and are within the following claims: 

What is claimed is:
 1. A sensor subsystem for an autonomous robot which rides on a surface, the sensor subsystem comprising: an optical emitter which emits a directed optical beam having a defined field of emission; a photon detector having a defined field of view which intersects the field of emission of the emitter at a region; and a circuit in communication with the detector providing an output when an object is not present in the region thereby re-directing the autonomous robot.
 2. The system of claim 1 in which the object is the surface and the output from the circuit causes the robot to be directed to avoid an obstacle when the surface does not occupy the region of intersection between the defined field of emission of the emitter and the defined field of view of the detector.
 3. The system of claim 1 in which the object is a wall and the output from the circuit causes the robot to be directed back towards the wall when the wall does not occupy the region of intersection of the defined field of emission of the emitter and the defined field of view of the detector.
 4. The system of claim 1 further including a plurality of sensor subsystems spaced from each other on the housing of the robot, the circuit including logic for detecting whether any detector of each said sensor subsystem has failed to detect a beam from an emitter.
 5. The system of claim 1 in which the robot includes a surface cleaning brush.
 6. The system of claim 1 in which the emitter includes an infrared light source and the detector includes an infrared photon detector.
 7. The system of claim 6 further including a modulator connected to the infrared light source for modulating the directed infrared light source beam at a predetermined frequency.
 8. The system of claim 7 in which the infrared photon detector is tuned to the said predetermined frequency.
 9. The system of claim 6 in which the emitter further includes an emitter collimator about the infrared light source for directing the beam and in which the detector further includes a detector collimator about the infrared photon detector to define the field of view.
 10. The system of claim 9 in which the emitter collimator and the detector collimator are angled with respect to the surface to define a finite region of intersection.
 11. The system of claim 3 in which the circuit includes logic which redirects the robot away from the wall when the wall occupies the region and back towards the wall when the wall no longer occupies the region of intersection.
 12. The system of claim 11 in which the circuit includes logic which redirects the robot away from the wall when the wall occupies the region and then back towards the wall when the wall no longer occupies the region of intersection at decreasing radiuses of curvature until the wall once again occupies the region of intersection.
 13. The system of claim 1 in which the object is diffuse and at least one of the detector and the emitter is oriented normal to the object.
 14. The system of claim 1 further including a lens for the emitter and a lens for the detector to control the region.
 15. The system of claim 1 further including a control system configured to operate the robot in a plurality of modes including an obstacle following mode whereby said robot travels adjacent to an obstacle.
 16. The system of claim 15 whereby said obstacle following mode comprises alternating between decreasing the turning radius of the robot as a function of distance traveled such that the robot turns toward said obstacle until the obstacle is detected and decreasing the turning radius of the robot as a function of distance traveled such that the robot turns away from said obstacle until the obstacle is no longer detected.
 17. The system of claim 15 in which the robot operates in obstacle following mode for a distance greater than twice the work width of the robot and less than approximately ten times the work width of the robot.
 18. The system of claim 17 in which the robot operates in obstacle following mode for a distance greater than twice the work width of the robot and less than five times the work width of the robot. 